<template>
  <div class="header">
    <div class="header-left">
      <span class="iconfont back-icon">&#xe624;</span>
    </div>
    <div class="header-center">
      <span class="iconfont">&#xe632;</span>
      输入城市/景点/游玩主题
    </div>
    <div class="header-right">
      城市
      <span class="iconfont arrow-icon">&#xe62d;</span>
    </div>
  </div>
</template>

<script>
export default {
  name: 'HomeHeader'
}
</script>

<style lang="stylus" scoped>
/* 因为UI图是86px的高度，用的是2倍素的，所以实际尺寸应该是43px，1rem是50px，所以43px是0.86rem */
1rem = html font-size = 50px
  @import '~@/assets/varibles.styl';
.header
  display flex
  height .86rem;
  line-height .86rem
  background-color $bgColor
  color #fff
  .header-left
    width .64rem
    float left
    text-align center
    .back-icon
      font-size .35rem
  .header-center
    flex 1
    height .64rem
    line-height .64rem;
    margin-top .12rem
    margin-left .12rem
    padding-left .2rem
    background-color #ffffff
    border-radius .1rem
    color #ccc
  .header-right
    width 1.24rem
    float right
    text-align center
    .arrow-icon
      font-size .24rem
</style>
